package day021.homework.p8;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class TcpServer {
    public static void main(String[] args) throws IOException {
        ServerSocket serverSocket=new ServerSocket(9090);

        while(true){
            Socket socket=serverSocket.accept();

            new DownloadThread(socket).start();
        }
    }
}
